import 'package:flutter/material.dart';
class SearchPage extends StatefulWidget{
    String title;
    SearchPage({this.title="搜索"});
  _SearchPage createState()=> _SearchPage(title:this.title);
  
}

class _SearchPage extends State<SearchPage>{
  String title;
 _SearchPage({this.title});
  @override
  Widget build(BuildContext context){
    return Scaffold(
      appBar: AppBar(
        title: Text("${this.title}"),
      ),
      body: Text("这里是search搜索页面"),
    );
  }
}